home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
E.T.O. #4 Installer
/
Big Brother Install
< prev
next >
Wrap
Text File
|
1991-05-23
|
2KB
|
62 lines
# B I G B R O T H E R I N S T A L L A T I O N S C R I P T
#
# Copyright Apple Computer, Inc. 1991 - All rights reserved.
#
#
# This script is used to install the Big Brother tools and Init
# from the E.T.O. #4 distribution compact disk into the MPW folder
# and System Folder on the destination hard disk.
#
# Options: None
#
# This script makes use of the following Shell variables:
#
# {CDVolume} - the name of the CD Distribution volume
#
# {Tools} - path to the "Tools - Objects" folder
#
# {SystemFolder} - the path to the folder containing the currently active System
#
# {DestVolume} - the name of the volume from which the Installer was launched
#
# {ToDir} - the name of the MPW folder on the destination hard drive
set Source "{CDVolume}{Tools}Macintosh Programmer’s Workshop:MPW PQR4:BigBrother:"
### First, copy the Big Brother Init into the System Folder
if "`Exists -f "{SystemFolder}BigBroINIT"`"
if "`Exists -f "{SystemFolder}BigBroINIT.OLD"`"
Delete -y "{SystemFolder}BigBroINIT.OLD"
End
Rename "{SystemFolder}BigBroINIT" "{SystemFolder}BigBroINIT.OLD"
End
Duplicate -y "{Source}BigBroINIT" "{SystemFolder}BigBroINIT"
### Now copy the tools…
If Not "`Exists -d "{ToDir}"`"
Newfolder "{ToDir}"
End
If Not "`Exists -d "{ToDir}:Tools"`"
Newfolder "{ToDir}:Tools"
End
Duplicate -y "{Source}BigBrother" "{ToDir}:Tools:BigBrother"
Duplicate -y "{Source}BBReporter" "{ToDir}:Tools:BBReporter"
### and append the help file to the MPW help file
If "`Exists -f "{ToDir}:MPW.Help"`"
Catenate "{Source}BB.Help" >> "{ToDir}:MPW.Help"
Else
Duplicate -y "{Source}BB.Help" "{ToDir}:BB.Help"
End
### th-th-th-that's all, folks
Exit 0